
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont el-icon-my-locationfill"></i>
                    <div class="name">location_fill</div>
                    <div class="fontclass">.el-icon-my-locationfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-camerafill"></i>
                    <div class="name">camera_fill</div>
                    <div class="fontclass">.el-icon-my-camerafill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-commentfill"></i>
                    <div class="name">comment_fill</div>
                    <div class="fontclass">.el-icon-my-commentfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-likefill"></i>
                    <div class="name">like_fill</div>
                    <div class="fontclass">.el-icon-my-likefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-questionfill"></i>
                    <div class="name">question_fill</div>
                    <div class="fontclass">.el-icon-my-questionfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-shopfill"></i>
                    <div class="name">shop_fill</div>
                    <div class="fontclass">.el-icon-my-shopfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-cartfill"></i>
                    <div class="name">cart_fill</div>
                    <div class="fontclass">.el-icon-my-cartfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-discoverfill"></i>
                    <div class="name">discover_fill</div>
                    <div class="fontclass">.el-icon-my-discoverfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-homefill"></i>
                    <div class="name">home_fill</div>
                    <div class="fontclass">.el-icon-my-homefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-selectionfill"></i>
                    <div class="name">selection_fill</div>
                    <div class="fontclass">.el-icon-my-selectionfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-appreciatefill"></i>
                    <div class="name">appreciate_fill</div>
                    <div class="fontclass">.el-icon-my-appreciatefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-rechargefill"></i>
                    <div class="name">recharge_fill</div>
                    <div class="fontclass">.el-icon-my-rechargefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-voicefill"></i>
                    <div class="name">voice_fill</div>
                    <div class="fontclass">.el-icon-my-voicefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-wefill"></i>
                    <div class="name">we_fill</div>
                    <div class="fontclass">.el-icon-my-wefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-lightfill"></i>
                    <div class="name">light_fill</div>
                    <div class="fontclass">.el-icon-my-lightfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-mobilefill"></i>
                    <div class="name">mobile_fill</div>
                    <div class="fontclass">.el-icon-my-mobilefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-countdownfill"></i>
                    <div class="name">countdown_fill</div>
                    <div class="fontclass">.el-icon-my-countdownfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-noticefill"></i>
                    <div class="name">notice_fill</div>
                    <div class="fontclass">.el-icon-my-noticefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-upstagefill"></i>
                    <div class="name">upstage_fill</div>
                    <div class="fontclass">.el-icon-my-upstagefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-creativefill"></i>
                    <div class="name">creative_fill</div>
                    <div class="fontclass">.el-icon-my-creativefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-newfill"></i>
                    <div class="name">new_fill</div>
                    <div class="fontclass">.el-icon-my-newfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-friendfill"></i>
                    <div class="name">friend_fill</div>
                    <div class="fontclass">.el-icon-my-friendfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-paintfill"></i>
                    <div class="name">paint_fill</div>
                    <div class="fontclass">.el-icon-my-paintfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-markfill"></i>
                    <div class="name">mark_fill</div>
                    <div class="fontclass">.el-icon-my-markfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-presentfill"></i>
                    <div class="name">present_fill</div>
                    <div class="fontclass">.el-icon-my-presentfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-peoplefill"></i>
                    <div class="name">people_fill</div>
                    <div class="fontclass">.el-icon-my-peoplefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-servicefill"></i>
                    <div class="name">service_fill</div>
                    <div class="fontclass">.el-icon-my-servicefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-repairfill"></i>
                    <div class="name">repair_fill</div>
                    <div class="fontclass">.el-icon-my-repairfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-commandfill"></i>
                    <div class="name">command_fill</div>
                    <div class="fontclass">.el-icon-my-commandfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-communityfill"></i>
                    <div class="name">community_fill</div>
                    <div class="fontclass">.el-icon-my-communityfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-tagfill"></i>
                    <div class="name">tag_fill</div>
                    <div class="fontclass">.el-icon-my-tagfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-hotfill"></i>
                    <div class="name">hot_fill</div>
                    <div class="fontclass">.el-icon-my-hotfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-crownfill"></i>
                    <div class="name">crown_fill</div>
                    <div class="fontclass">.el-icon-my-crownfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-goodsfill"></i>
                    <div class="name">goods_fill</div>
                    <div class="fontclass">.el-icon-my-goodsfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-messagefill"></i>
                    <div class="name">message_fill</div>
                    <div class="fontclass">.el-icon-my-messagefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-profilefill"></i>
                    <div class="name">profile_fill</div>
                    <div class="fontclass">.el-icon-my-profilefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-sponsorfill"></i>
                    <div class="name">sponsor_fill</div>
                    <div class="fontclass">.el-icon-my-sponsorfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-emojifill"></i>
                    <div class="name">emoji_fill</div>
                    <div class="fontclass">.el-icon-my-emojifill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-emojiflashfill"></i>
                    <div class="name">emoji_flash_fill</div>
                    <div class="fontclass">.el-icon-my-emojiflashfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-logout"></i>
                    <div class="name">logout</div>
                    <div class="fontclass">.el-icon-my-logout</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-musicfill"></i>
                    <div class="name">music_fill</div>
                    <div class="fontclass">.el-icon-my-musicfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-recordfill"></i>
                    <div class="name">record_fill</div>
                    <div class="fontclass">.el-icon-my-recordfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-formfill"></i>
                    <div class="name">form_fill</div>
                    <div class="fontclass">.el-icon-my-formfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-circlefill"></i>
                    <div class="name">circle_fill</div>
                    <div class="fontclass">.el-icon-my-circlefill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-goodsnewfill"></i>
                    <div class="name">goods_new_fill</div>
                    <div class="fontclass">.el-icon-my-goodsnewfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-medalfill"></i>
                    <div class="name">medal_fill</div>
                    <div class="fontclass">.el-icon-my-medalfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-newsfill"></i>
                    <div class="name">news_fill</div>
                    <div class="fontclass">.el-icon-my-newsfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-newshotfill"></i>
                    <div class="name">news_hot_fill</div>
                    <div class="fontclass">.el-icon-my-newshotfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-askfill"></i>
                    <div class="name">ask_fill</div>
                    <div class="fontclass">.el-icon-my-askfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-skinfill"></i>
                    <div class="name">skin_fill</div>
                    <div class="fontclass">.el-icon-my-skinfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-moneybagfill"></i>
                    <div class="name">money_bag_fill</div>
                    <div class="fontclass">.el-icon-my-moneybagfill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-redpacket_fill"></i>
                    <div class="name">redpacket_fill</div>
                    <div class="fontclass">.el-icon-my-redpacket_fill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-evaluate_fill"></i>
                    <div class="name">evaluate_fill</div>
                    <div class="fontclass">.el-icon-my-evaluate_fill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-group_fill"></i>
                    <div class="name">group_fill</div>
                    <div class="fontclass">.el-icon-my-group_fill</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-my-lock_fill"></i>
                    <div class="name">lock_fill</div>
                    <div class="fontclass">.el-icon-my-lock_fill</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">el-icon-my-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
